package com.dhu.stylefit.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

public interface ClothesRepository extends JpaRepository<Clothes,Long>{

    List<Clothes> findByUserId(long userId);

    List<Clothes> findByUserIdAndClothesCategory(long userId, long categoryId);
}
